package cn.nb12.okhttp3.common;

import java.util.Map;

import com.google.gson.Gson;

public class Test {

	public static void main(String[] args) {
		Gson gson=new Gson();
		Map map = gson.fromJson("{\"success\": true}", Map.class);
		System.out.println((boolean)map.get("success")==true);
	}

}
